<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:tns="http://schemas.datacontract.org/2004/07/jSLApp.Web.Workflow" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/jSLApp.Web.Workflow" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:53044/MainService.svc?xsd=xsd5" namespace="http://schemas.datacontract.org/2004/07/System.Data.Linq" />
  <xs:import schemaLocation="http://localhost:53044/MainService.svc?xsd=xsd4" namespace="http://schemas.datacontract.org/2004/07/jSLCore.Service.Data" />
  <xs:import schemaLocation="http://localhost:53044/MainService.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:complexType name="ArrayOfPaymentModule">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="PaymentModule" nillable="true" type="tns:PaymentModule" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfPaymentModule" nillable="true" type="tns:ArrayOfPaymentModule" />
  <xs:complexType name="PaymentModule">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/jSLCore.Service.Data" base="q1:BaseData">
        <xs:sequence>
          <xs:element minOccurs="0" name="id" type="xs:int" />
          <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="FormatUriString" nillable="true" type="xs:string" />
          <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/System.Data.Linq" minOccurs="0" name="Photo" nillable="true" type="q2:Binary" />
          <xs:element minOccurs="0" name="IsEnabled" type="xs:boolean" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="PaymentModule" nillable="true" type="tns:PaymentModule" />
  <xs:complexType name="ArrayOfPayment">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Payment" nillable="true" type="tns:Payment" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfPayment" nillable="true" type="tns:ArrayOfPayment" />
  <xs:complexType name="Payment">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q3="http://schemas.datacontract.org/2004/07/jSLCore.Service.Data" base="q3:BaseData">
        <xs:sequence>
          <xs:element minOccurs="0" name="id" type="xs:int" />
          <xs:element minOccurs="0" name="UserId" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Price" type="xs:decimal" />
          <xs:element minOccurs="0" name="CreationDate" type="xs:dateTime" />
          <xs:element minOccurs="0" name="Info" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Payment" nillable="true" type="tns:Payment" />
  <xs:complexType name="ArrayOfCheckOut">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="CheckOut" nillable="true" type="tns:CheckOut" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfCheckOut" nillable="true" type="tns:ArrayOfCheckOut" />
  <xs:complexType name="CheckOut">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q4="http://schemas.datacontract.org/2004/07/jSLCore.Service.Data" base="q4:BaseData">
        <xs:sequence>
          <xs:element minOccurs="0" name="FilmName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="id" type="xs:int" />
          <xs:element minOccurs="0" name="UserId" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="FilmId" type="xs:int" />
          <xs:element minOccurs="0" name="Price" type="xs:decimal" />
          <xs:element minOccurs="0" name="CreationDate" type="xs:dateTime" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="CheckOut" nillable="true" type="tns:CheckOut" />
  <xs:complexType name="ArrayOfFilm">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Film" nillable="true" type="tns:Film" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfFilm" nillable="true" type="tns:ArrayOfFilm" />
  <xs:complexType name="Film">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q5="http://schemas.datacontract.org/2004/07/jSLCore.Service.Data" base="q5:BaseData">
        <xs:sequence>
          <xs:element xmlns:q6="http://schemas.datacontract.org/2004/07/System.Data.Linq" minOccurs="0" name="BigImage" nillable="true" type="q6:Binary" />
          <xs:element minOccurs="0" name="GenreName" nillable="true" type="xs:string" />
          <xs:element xmlns:q7="http://schemas.datacontract.org/2004/07/System.Data.Linq" minOccurs="0" name="PosterCash" nillable="true" type="q7:Binary" />
          <xs:element minOccurs="0" name="UserName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="id" type="xs:int" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
          <xs:element xmlns:q8="http://schemas.datacontract.org/2004/07/System.Data.Linq" minOccurs="0" name="Photo" nillable="true" type="q8:Binary" />
          <xs:element minOccurs="0" name="Year" nillable="true" type="xs:int" />
          <xs:element minOccurs="0" name="CreationDate" type="xs:dateTime" />
          <xs:element minOccurs="0" name="Price" type="xs:decimal" />
          <xs:element minOccurs="0" name="SourceUri" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="GenreId" nillable="true" type="xs:int" />
          <xs:element minOccurs="0" name="Rating" type="xs:double" />
          <xs:element minOccurs="0" name="Tags" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CreatorId" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="IsModeratorRecomended" type="xs:boolean" />
          <xs:element minOccurs="0" name="IsPublic" type="xs:boolean" />
          <xs:element minOccurs="0" name="TrailerUri" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="IsSelected" type="xs:boolean" />
          <xs:element minOccurs="0" name="AgeNeed" type="xs:boolean" />
          <xs:element minOccurs="0" name="IsSmoothStreaming" type="xs:boolean" />
          <xs:element minOccurs="0" name="Country" nillable="true" type="xs:string" />
          <xs:element xmlns:q9="http://schemas.datacontract.org/2004/07/System.Data.Linq" minOccurs="0" name="SmallCover" nillable="true" type="q9:Binary" />
          <xs:element minOccurs="0" name="EnName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Comments" nillable="true" type="tns:ArrayOfComment">
            <xs:annotation>
              <xs:appinfo>
                <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
              </xs:appinfo>
            </xs:annotation>
          </xs:element>
          <xs:element minOccurs="0" name="CheckOuts" nillable="true" type="tns:ArrayOfCheckOut">
            <xs:annotation>
              <xs:appinfo>
                <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
              </xs:appinfo>
            </xs:annotation>
          </xs:element>
          <xs:element minOccurs="0" name="Photos" nillable="true" type="tns:ArrayOfPhoto">
            <xs:annotation>
              <xs:appinfo>
                <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
              </xs:appinfo>
            </xs:annotation>
          </xs:element>
          <xs:element minOccurs="0" name="LookAts" nillable="true" type="tns:ArrayOfLookAt">
            <xs:annotation>
              <xs:appinfo>
                <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
              </xs:appinfo>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Film" nillable="true" type="tns:Film" />
  <xs:complexType name="ArrayOfComment">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Comment" nillable="true" type="tns:Comment" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfComment" nillable="true" type="tns:ArrayOfComment" />
  <xs:complexType name="Comment">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q10="http://schemas.datacontract.org/2004/07/jSLCore.Service.Data" base="q10:BaseData">
        <xs:sequence>
          <xs:element minOccurs="0" name="AuthorName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="id" type="xs:int" />
          <xs:element minOccurs="0" name="Content" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Rating" nillable="true" type="xs:double" />
          <xs:element minOccurs="0" name="AuthorId" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CreationDate" type="xs:dateTime" />
          <xs:element minOccurs="0" name="FilmId" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Comment" nillable="true" type="tns:Comment" />
  <xs:complexType name="ArrayOfPhoto">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Photo" nillable="true" type="tns:Photo" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfPhoto" nillable="true" type="tns:ArrayOfPhoto" />
  <xs:complexType name="Photo">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q11="http://schemas.datacontract.org/2004/07/jSLCore.Service.Data" base="q11:BaseData">
        <xs:sequence>
          <xs:element minOccurs="0" name="id" type="xs:int" />
          <xs:element xmlns:q12="http://schemas.datacontract.org/2004/07/System.Data.Linq" minOccurs="0" name="Photo1" nillable="true" type="q12:Binary" />
          <xs:element minOccurs="0" name="FilmId" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Photo" nillable="true" type="tns:Photo" />
  <xs:complexType name="ArrayOfLookAt">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="LookAt" nillable="true" type="tns:LookAt" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfLookAt" nillable="true" type="tns:ArrayOfLookAt" />
  <xs:complexType name="LookAt">
    <xs:sequence>
      <xs:element minOccurs="0" name="id" type="xs:int" />
      <xs:element minOccurs="0" name="VisitId" type="xs:int" />
      <xs:element minOccurs="0" name="FilmId" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="LookAt" nillable="true" type="tns:LookAt" />
  <xs:complexType name="Genre">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q13="http://schemas.datacontract.org/2004/07/jSLCore.Service.Data" base="q13:BaseData">
        <xs:sequence>
          <xs:element minOccurs="0" name="id" type="xs:int" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Films" nillable="true" type="tns:ArrayOfFilm">
            <xs:annotation>
              <xs:appinfo>
                <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
              </xs:appinfo>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Genre" nillable="true" type="tns:Genre" />
  <xs:complexType name="ArrayOfGenre">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Genre" nillable="true" type="tns:Genre" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfGenre" nillable="true" type="tns:ArrayOfGenre" />
  <xs:complexType name="ArrayOfSystemLog">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="SystemLog" nillable="true" type="tns:SystemLog" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfSystemLog" nillable="true" type="tns:ArrayOfSystemLog" />
  <xs:complexType name="SystemLog">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q14="http://schemas.datacontract.org/2004/07/jSLCore.Service.Data" base="q14:BaseData">
        <xs:sequence>
          <xs:element minOccurs="0" name="TypeEnum" type="tns:LogType" />
          <xs:element minOccurs="0" name="int" type="xs:int" />
          <xs:element minOccurs="0" name="Info" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Type" type="xs:int" />
          <xs:element minOccurs="0" name="CreationDate" type="xs:dateTime" />
          <xs:element minOccurs="0" name="User" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="RowGUIDId" nillable="true" type="ser:guid" />
          <xs:element minOccurs="0" name="RowIntId" nillable="true" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="SystemLog" nillable="true" type="tns:SystemLog" />
  <xs:simpleType name="LogType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="System" />
      <xs:enumeration value="Error" />
      <xs:enumeration value="UserAction" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="LogType" nillable="true" type="tns:LogType" />
  <xs:complexType name="ArrayOfRole">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Role" nillable="true" type="tns:Role" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfRole" nillable="true" type="tns:ArrayOfRole" />
  <xs:complexType name="Role">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q15="http://schemas.datacontract.org/2004/07/jSLCore.Service.Data" base="q15:BaseData">
        <xs:sequence>
          <xs:element minOccurs="0" name="id" type="ser:guid" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Users" nillable="true" type="tns:ArrayOfUser">
            <xs:annotation>
              <xs:appinfo>
                <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
              </xs:appinfo>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Role" nillable="true" type="tns:Role" />
  <xs:complexType name="ArrayOfUser">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="User" nillable="true" type="tns:User" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfUser" nillable="true" type="tns:ArrayOfUser" />
  <xs:complexType name="User">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q16="http://schemas.datacontract.org/2004/07/jSLCore.Service.Data" base="q16:BaseData">
        <xs:sequence>
          <xs:element minOccurs="0" name="LoginTxt" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="NameText" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="RoleText" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Login" nillable="true" type="xs:string" />
          <xs:element xmlns:q17="http://schemas.datacontract.org/2004/07/System.Data.Linq" minOccurs="0" name="Password" nillable="true" type="q17:Binary" />
          <xs:element minOccurs="0" name="IsEnabled" type="xs:boolean" />
          <xs:element minOccurs="0" name="RoleId" nillable="true" type="ser:guid" />
          <xs:element minOccurs="0" name="CreationDate" type="xs:dateTime" />
          <xs:element minOccurs="0" name="RemeberCode" nillable="true" type="ser:guid" />
          <xs:element minOccurs="0" name="Balance" type="xs:decimal" />
          <xs:element minOccurs="0" name="email" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="emailAccepted" type="xs:boolean" />
          <xs:element minOccurs="0" name="VerifyCode" nillable="true" type="ser:guid" />
          <xs:element minOccurs="0" name="ChangePasswordCode" nillable="true" type="ser:guid" />
          <xs:element minOccurs="0" name="LastVisit" nillable="true" type="xs:dateTime" />
          <xs:element minOccurs="0" name="Age" type="xs:boolean" />
          <xs:element minOccurs="0" name="Comments" nillable="true" type="tns:ArrayOfComment">
            <xs:annotation>
              <xs:appinfo>
                <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
              </xs:appinfo>
            </xs:annotation>
          </xs:element>
          <xs:element minOccurs="0" name="CheckOuts" nillable="true" type="tns:ArrayOfCheckOut">
            <xs:annotation>
              <xs:appinfo>
                <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
              </xs:appinfo>
            </xs:annotation>
          </xs:element>
          <xs:element minOccurs="0" name="Payments" nillable="true" type="tns:ArrayOfPayment">
            <xs:annotation>
              <xs:appinfo>
                <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
              </xs:appinfo>
            </xs:annotation>
          </xs:element>
          <xs:element minOccurs="0" name="SystemLogs" nillable="true" type="tns:ArrayOfSystemLog">
            <xs:annotation>
              <xs:appinfo>
                <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
              </xs:appinfo>
            </xs:annotation>
          </xs:element>
          <xs:element minOccurs="0" name="Films" nillable="true" type="tns:ArrayOfFilm">
            <xs:annotation>
              <xs:appinfo>
                <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
              </xs:appinfo>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="User" nillable="true" type="tns:User" />
  <xs:complexType name="ArrayOfFileEntry">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="FileEntry" nillable="true" type="tns:FileEntry" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfFileEntry" nillable="true" type="tns:ArrayOfFileEntry" />
  <xs:complexType name="FileEntry">
    <xs:sequence>
      <xs:element minOccurs="0" name="JustLoaded" type="xs:boolean" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Size" type="xs:long" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="FileEntry" nillable="true" type="tns:FileEntry" />
</xs:schema>